/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ModEmpleado.java
 *
 * Created on 06-jul-2011, 1:05:38
 */
package labhibernate;

import Entity.AcEmpleado;
import Hibernate_.HibernateUtil;
import java.util.List;
import java.util.Vector;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JOptionPane;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;

/**
 *
 * @author Alma Cottom
 */
public class ModEmpleado extends javax.swing.JFrame {

    /** Creates new form ModEmpleado */
    public ModEmpleado() {
        initComponents();
        GetNames();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel2 = new javax.swing.JPanel();
        jdire = new javax.swing.JTextField();
        jFa = new javax.swing.JComboBox();
        japellidos = new javax.swing.JTextField();
        jsc = new javax.swing.JComboBox();
        carne = new javax.swing.JTextField();
        nombres = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        dob = new org.freixas.jcalendar.JCalendarCombo();
        bCancel = new javax.swing.JButton();
        bAcepta = new javax.swing.JButton();
        jPanel4 = new javax.swing.JPanel();
        jLabel25 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        Cnombres = new javax.swing.JComboBox();
        jCarnet = new javax.swing.JComboBox();
        jLabel1 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();

        jPanel2.setBackground(new java.awt.Color(191, 228, 246));

        jdire.setEditable(false);
        jdire.setFont(new java.awt.Font("Maiandra GD", 0, 12));

        jFa.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jFa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Licenciado", "Ingeniero", "Secretaria", "Contador", "Auditor" }));

        japellidos.setEditable(false);
        japellidos.setFont(new java.awt.Font("Maiandra GD", 0, 12));

        jsc.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jsc.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Soltero", "Casado", " ", " " }));

        carne.setEditable(false);
        carne.setFont(new java.awt.Font("Maiandra GD", 0, 12));

        nombres.setEditable(false);
        nombres.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        nombres.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                nombresActionPerformed(evt);
            }
        });

        jLabel2.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel2.setText("No. Carné");

        jLabel9.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel9.setText("Fecha Nacimiento");

        jLabel6.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel6.setText("Formación Academica");

        jLabel5.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel5.setText("Estado Civil");

        jLabel4.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel4.setText("Apellidos");

        jLabel3.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel3.setText("Nombres");

        jLabel8.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel8.setText("Dirección");

        dob.setDate(new java.util.Date(1309919344000L));
        dob.setDayFont(new java.awt.Font("Maiandra GD", 0, 10));
        dob.setDayOfWeekFont(new java.awt.Font("Maiandra GD", 0, 10));
        dob.setFont(new java.awt.Font("Maiandra GD", 0, 12));

        bCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/4158.png"))); // NOI18N
        bCancel.setText("CANCELAR");

        bAcepta.setBackground(new java.awt.Color(255, 255, 204));
        bAcepta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/4149.png"))); // NOI18N
        bAcepta.setText("MODIFICAR");
        bAcepta.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bAceptaActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                        .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jsc, 0, 376, Short.MAX_VALUE)
                            .addComponent(nombres, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE)
                            .addComponent(jFa, 0, 376, Short.MAX_VALUE)
                            .addComponent(carne, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE)))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.LEADING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(japellidos, javax.swing.GroupLayout.DEFAULT_SIZE, 377, Short.MAX_VALUE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel8)
                            .addComponent(jLabel9))
                        .addGap(25, 25, 25)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(dob, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE)
                            .addComponent(jdire, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE)))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                        .addComponent(bCancel)
                        .addGap(18, 18, 18)
                        .addComponent(bAcepta)
                        .addGap(26, 26, 26)))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel2)
                    .addComponent(carne, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(nombres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(japellidos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jsc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel6)
                    .addComponent(jFa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jdire, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel8))
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(dob, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(27, 27, 27)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(bCancel)
                    .addComponent(bAcepta, javax.swing.GroupLayout.DEFAULT_SIZE, 73, Short.MAX_VALUE))
                .addGap(47, 47, 47))
        );

        jPanel4.setBackground(new java.awt.Color(170, 224, 251));

        jLabel25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/empleadof5.jpg"))); // NOI18N
        jLabel25.setText("jLabel25");

        jLabel10.setFont(new java.awt.Font("Maiandra GD", 1, 18));
        jLabel10.setText("MODIFICAR EMPLEADO");

        Cnombres.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        Cnombres.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CnombresActionPerformed(evt);
            }
        });

        jCarnet.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jCarnet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCarnetActionPerformed(evt);
            }
        });

        jLabel1.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel1.setText("Nombre Completo Empleado");

        jLabel7.setFont(new java.awt.Font("Maiandra GD", 0, 12));
        jLabel7.setText("No. Carné Empleado");

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(53, 53, 53)
                        .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 224, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 99, Short.MAX_VALUE))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel1))
                        .addGap(27, 27, 27)
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(Cnombres, 0, 323, Short.MAX_VALUE)
                            .addComponent(jCarnet, 0, 323, Short.MAX_VALUE))))
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel25))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGap(44, 44, 44)
                        .addComponent(jLabel10)))
                .addGap(18, 18, 18)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                        .addComponent(Cnombres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jCarnet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel7))
                        .addGap(32, 32, 32))
                    .addComponent(jLabel1)))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void nombresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nombresActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_nombresActionPerformed

    private void bAceptaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bAceptaActionPerformed

        if( JOptionPane.showConfirmDialog(null,"Esta seguro de MODIFICAR el registRO")== 1){
             CURD employ = new CURD();
        
        employ.UpdateEmploy(Integer.parseInt(carne.getText()),nombres.getText(),
                japellidos.getText() , dob.getDate(), jdire.getText(),
                String.valueOf(jsc.getSelectedItem()) , String.valueOf(jFa.getSelectedItem()));
        }   
        
      
        
        
    }//GEN-LAST:event_bAceptaActionPerformed

    private void CnombresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CnombresActionPerformed
       
        String n = new  String();
    String aux = new String();
            n = String.valueOf(Cnombres.getSelectedItem());
            
            
            for ( int x = 0; x < n.length(); x++){
                if( n.charAt(x)== ']' || n.charAt(x)== '[' || n.charAt(x)== ' ')
                {
                    
                }   
                else
                {
                  aux = aux+n.charAt(x);
                }
            }
            
        JOptionPane.showMessageDialog(null, aux);
        //SetEmpleado(n);
        SetEmpleado(aux,1);
        
    }//GEN-LAST:event_CnombresActionPerformed

    private void jCarnetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCarnetActionPerformed
         
        String aux = new String();
        String n = new  String();
            
            n = String.valueOf(jCarnet.getSelectedItem());
            
            
            for ( int x = 0; x < n.length(); x++){
                if( n.charAt(x)== ']' || n.charAt(x)== '[' || n.charAt(x)== ' ')
                {
                    
                }   
                else
                {
                  aux = aux+n.charAt(x);
                }
            }
            
        
        //SetEmpleado(n);
            SetEmpleado(aux,2);
    }//GEN-LAST:event_jCarnetActionPerformed

    public void SetEmpleado(String data, int op){
        List resultList = null;
        String query = new String();
        if(op == 1){
            query =  "select e from AcEmpleado e where Concat(e.nombres,e.apellidos) = '"+data+"'"; 
            
        }
        else{
            query = "select e from AcEmpleado e where e.carneEmpleado= '"+data+"'";
        }
         try {
        Session session = HibernateUtil.getSessionFactory().openSession();
        session.beginTransaction();
        //Query q = session.createQuery("select e from AcEmpleado e where Concat(e.nombres,e.apellidos) = '"+data+"'");
        Query q = session.createQuery(query);
        JOptionPane.showMessageDialog(null, String.valueOf(q.list()));
        if( q.list().isEmpty()){
           JOptionPane.showMessageDialog(null,"No hay registros que coincidan");
        }
       else{
            resultList = q.list();
           session.getTransaction().commit();
       }
        
    } catch (HibernateException he) {
        he.printStackTrace();
    }        
        
        
      Vector tableData = new Vector();
       for(Object o : resultList) {
        
        AcEmpleado emp = new AcEmpleado((AcEmpleado)o);
        carne.setText(String.valueOf(emp.getCarneEmpleado()));
        carne.setEditable(false);
        nombres.setText(emp.getNombres());
        japellidos.setText(emp.getApellidos());
        jsc.setSelectedItem(emp.getEstadocivil());
        jFa.setSelectedItem(emp.getTitulo());
        jdire.setText(emp.getDireccion());
        dob.setDate(emp.getFechaNac());
                
        
        
        
    }
       
        
        
   }
    
    //Carga el nombre completo del empleado en un comboBox
    public void GetNames(){
        
        List resultList = null;
        
                try {
        Session session = HibernateUtil.getSessionFactory().openSession();
        session.beginTransaction();
        Query q = session.createQuery("from AcEmpleado");
        
        if( q.list().isEmpty()){
            JOptionPane.showMessageDialog(null,"No hay registros que coincidan");
        }
        else{
            resultList = q.list();
            session.getTransaction().commit();
        }
        
    } catch (HibernateException he) {
        he.printStackTrace();
    }        
        
    Vector carnet = new Vector();    
    Vector tableData = new Vector();
        for(Object o : resultList) {
        
        AcEmpleado emp = new AcEmpleado((AcEmpleado)o);
        Vector<Object> oneRow = new Vector<Object>();
        Vector<Object> cr = new Vector<Object>();
        oneRow.add(emp.getNombres() + " " +  emp.getApellidos());
        tableData.add(oneRow);
        
        cr.add(emp.getCarneEmpleado());
        carnet.add(cr);
        
    }
       Cnombres.setModel(new DefaultComboBoxModel(tableData));
       jCarnet.setModel(new DefaultComboBoxModel(carnet));
               
          
        
    }
    
    
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new ModEmpleado().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox Cnombres;
    private javax.swing.JButton bAcepta;
    private javax.swing.JButton bCancel;
    private javax.swing.JTextField carne;
    private org.freixas.jcalendar.JCalendarCombo dob;
    private javax.swing.JComboBox jCarnet;
    private javax.swing.JComboBox jFa;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JTextField japellidos;
    private javax.swing.JTextField jdire;
    private javax.swing.JComboBox jsc;
    private javax.swing.JTextField nombres;
    // End of variables declaration//GEN-END:variables
}
